﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="DigDes.DSchool.SUPS.Web.UI.WebForm1" %>


<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">

        <div>
            <asp:ObjectDataSource runat="server" ID="ObjectDataSource" TypeName=" DigDes.DSchool.SUPS.DataAccess.Database.SelectorDislocationDAC" SelectMethod="SelectDislocation" OldValuesParameterFormatString="original_{0}"></asp:ObjectDataSource>

            <asp:GridView ID="GridViewForDislocation" runat="server" DataSourceID="ObjectDataSource" AutoGenerateColumns="true" CellPadding="4" ForeColor="#333333" GridLines="None">
                <Columns>
                    <asp:BoundField DataField="CarNumber" HeaderText="Номер вагона" SortExpression="CarNumber"></asp:BoundField>
                    <asp:BoundField DataField="Weight" HeaderText="Вес" SortExpression="Weight"></asp:BoundField>
                    <asp:BoundField DataField="ArrivalStationName" HeaderText="Станция назначения вагона" SortExpression="StationArr"></asp:BoundField>
                    <asp:BoundField DataField="CargoName" HeaderText="Название груза" SortExpression="CargoName"></asp:BoundField>
                    <asp:BoundField DataField="ConsigneeCode" HeaderText="Код грузополучателя" SortExpression="ConsigneeCode"></asp:BoundField>
                    <asp:BoundField DataField="CarParkType" HeaderText="Тип парка вагона" SortExpression="CarParkType"></asp:BoundField>
                    <asp:BoundField DataField="DispatchStationName" HeaderText="Название cтанции начала рейса" SortExpression="StationDisp"></asp:BoundField>
                    <asp:BoundField DataField="OperationName" HeaderText="Операция" SortExpression="CarOper"></asp:BoundField>
                    <asp:BoundField DataField="OperationDateTime" HeaderText="Дата операции" SortExpression="OperationDateTime"></asp:BoundField>
                    <asp:BoundField DataField="OperationStationName" HeaderText="Станция свершения операции" SortExpression="stationOper"></asp:BoundField>
                    <asp:BoundField DataField="RoadOfDeliveryName" HeaderText="Дорога сдачи" SortExpression="RoadDel"></asp:BoundField>
                    <asp:BoundField DataField="RoadOfReceptionName" HeaderText="Дорога приема" SortExpression="RoadRec"></asp:BoundField>
                    <asp:BoundField DataField="TrainIndex" HeaderText="Индекс поезда" SortExpression="TrainIndex"></asp:BoundField>
                    <asp:BoundField DataField="TrainNumber" HeaderText="Номер поезда" SortExpression="TrainNumber"></asp:BoundField>
                    
                </Columns>
            </asp:GridView>

        </div>
    </asp:Content>